<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>进行专家分配</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<link rel="stylesheet" type="text/css" href="../css/counter.css">
		<link rel="stylesheet" type="text/css" href="../css/css.css">
		<script src="<%=basePath%>/javascript/jquery.js"></script>
		<script src="<%=basePath%>/javascript/listtolist.js"></script>
		<script type="text/javascript"> 
 		$(document).ready(function() 
 		{
            $("#selectAll").click(function(){$(":checkbox").attr("checked","true");});
            $("#cancleSelectAll").click(function(){$(":checkbox").removeAttr("checked");});
		});
</script>

	</head>

	<body>
		<center>
			<form action="admin/experts/addOrDeleteReviewExpert.action"
				method="post">
				<table width="100%" cellpadding="0" cellspacing="0"
					bgcolor="#ffffff">
					<tr>
						<td>

							<TABLE height="80%" cellSpacing=1 cellPadding=2 width="100%"
								bgColor=#ffffff border=0>
								<TBODY>
									<TR class=bg height=23>
										<td width="4%" background="../images/manage/title_bg.jpg"
											class="font_12_B_w">
											<IMG src="<%=basePath%>/images/manage/arron1.gif">
											分配专家
										</TD>
									</TR>
								</TBODY>
							</TABLE>
							<TABLE height="100%" cellSpacing=1 cellPadding=2 width="100%"
								bgColor=#ffffff border=0>
								<tr>
									<td bgcolor="#EAEEEE" colspan="2">
										专家列表
										<input type="button" id="selectAll" value="选择所有">
										<input type="button" id="cancleSelectAll" value="取消选择所有">
									</td>
								</tr>
								<s:iterator value="baseModelList" id="expert">
									<TR>
										<s:if test="${checkFlag eq true}">
											<td bgcolor="#EAEEEE" class="font__12_grey">
												<input type="checkbox" name="expertIdArray" value="${id}"
													checked="checked">
												<s:property value="name" />
											
											</td>
											<td bgcolor="#EAEEEE" class="font__12_grey" align="right" width="20%">
												<font color="red" >已分配</font>
											</td>
										</s:if>
										<s:else>
											<td bgcolor="#EAEEEE" class="font__12_grey">
												<input type="checkbox" name="expertIdArray" value="${id}">
												<s:property value="name" />
											</td>
											<td bgcolor="#EAEEEE" class="font__12_grey" align="right" width="20%">
												<font color="#666">未分配</font>
											</td>
										</s:else>
									</tr>
								</s:iterator>
							</TABLE>

							<table width="100%" border="0" cellpadding="0" cellspacing="0"
								bgcolor="#EAEEEE">
								<tr>
									<td>
										<CENTER>
											<input type="submit" name="tj" value="提交授权">

											&nbsp;&nbsp;
											<input type="button" onclick="window.close()" name="qx"
												value="关闭窗口">

										</CENTER>
									</td>
								</tr>
							</table>

						</td>
					</tr>
				</table>
			</form>
		</center>
	</body>
</html>
